import { request } from '@/utils'

export default {
  // 上传文件
  uploadFile: (params = {}) =>
    request.post('/file/upload', params, {
      headers: {
        'Content-Type': 'multipart/form-data',
      },
    }),
}
